import request from '@/utils/request'

// 列表
export function apiRegionLists(params: any) {
    return request.get({ url: '/region/lists', params })
}

// 添加
export function apiRegionAdd(params: any) {
    return request.post({ url: '/region/add', params })
}

// 编辑
export function apiRegionEdit(params: any) {
    return request.post({ url: '/region/edit', params })
}

// 删除
export function apiRegionDelete(params: any) {
    return request.post({ url: '/region/delete', params })
}

// 详情
export function apiRegionDetail(params: any) {
    return request.get({ url: '/region/detail', params })
}
// 修改状态
export function regionStatus(params: any) {
    return request.get({ url: '/region/updateStatus', params })
}